[IA64] fixed switch to idle domain bug
authorawilliam@xenbuild.aw <awilliam@xenbuild.aw>
Fri, 17 Feb 2006 22:02:40 +0000 (15:02 -0700)
committerawilliam@xenbuild.aw <awilliam@xenbuild.aw>
Fri, 17 Feb 2006 22:02:40 +0000 (15:02 -0700)
commite814b1b7743c149fec0e1d5ad51fef0f43d9c86d
treee515c128c87a50b59d0022593e57bf6613458449
parent1dc171610812257fff8a46f1cd89fadabec9aaa7
[IA64] fixed switch to idle domain bug

Previously when switching to idle domain, cr.pta is set to dom0's VHPT,
then when switching from VTIdomain to idle domain, cr.pta is set to
dom0's VHPT, and in idle domain, VHPT will be not remapped by TR, so
there may be unexpected vhpt fault in idle domain, which may cause
domain crash. Above only happens in host smp platform not host up
platform. This patch is intended to fix this bug.

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
Signed-off-by: Anthony Xu <anthony.xu@intel.com>
xen/arch/ia64/xen/xenmisc.c
xen/include/asm-ia64/linux-xen/asm/processor.h